package com.coda.clouddisk.mapper;

import com.coda.clouddisk.entity.FileShareRecord;
import com.coda.clouddisk.entity.KeSunAttachment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Map;


@Mapper
public interface FileShareRecordMapper extends SuperMapper {

    /**
     * 根据文件id获取共享id
     * @return
     */
    String getShareIdByIds(String file);

    /**
     * 获取分享出去的文件
     * @param data
     * @return
     */
    List<FileShareRecord> getShareFileOut(Map<String, Object> data);
}
